package com.boot.api;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ApiCode{

    SUCCESS(200, "操作成功"),
    FAILED(0, "操作失败"),
    UN_AUTHENTICATION(403, "未认证");

    private final int code;
    private final String msg;

}
